﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace _13.带有标题的内容控件
{
    /// <summary>
    /// TabItem.xaml 的交互逻辑
    /// </summary>
    public partial class TabItem : Window {
    public TabItem() {
        InitializeComponent();
    }

        private void button1_Click(object sender, RoutedEventArgs e) {
            this.tabItem2.IsSelected = true;
        }
    }
}
